{% include 'head.html' %}
<body>

{% include 'header.html' %}
<div id="Wrapper">
<div id="Category">
	<form method="post" action="/indoor/category-article" name="formSite">
		article category:
		<input type="text" name="article_category" class="input-a" />
		<br />
		article category url:
		<input type="text" name="article_category_url" class="input-a" value="category-{{ article_url_time }}" />
		<br />
		<button type="submit">add</button>
	</form>
	<div>{% for cate in category %}  	
		<h3><a href="/{{ cate.category_url }}" target="_blank">{{ cate.name }}</a></h3>
		<span><a href="/indoor/remove-category-article/{{ cate.category_url }}" >remove</a></span>
		<span><a href="/indoor/edit-category-article/{{ cate.category_url }}" >edit</a></span>
	{% endfor %}</div>  	
</div>

{% include 'sidebar.html' %}
{% include 'footer.html' %}
</div>
</body>
</html>
